www.gusucode.com > VC++ Oracle数据库进行大数据查询-源码程序 > VC++ Oracle数据库进行大数据查询-源码程序/code/ProTest/ProTestDoc.cpp
// ProTestDoc.cpp : implementation of the CProTestDoc class // Download by http://www.NewXing.com #include "stdafx.h" #include "ProTest.h" #include "ProTestDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CProTestDoc IMPLEMENT_DYNCREATE(CProTestDoc, CDocument) BEGIN_MESSAGE_MAP(CProTestDoc, CDocument) //{{AFX_MSG_MAP(CProTestDoc) // NOTE - the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CProTestDoc construction/destruction CProTestDoc::CProTestDoc() { // TODO: add one-time construction code here } CProTestDoc::~CProTestDoc() { } BOOL CProTestDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CProTestDoc serialization void CProTestDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } ///////////////////////////////////////////////////////////////////////////// // CProTestDoc diagnostics #ifdef _DEBUG void CProTestDoc::AssertValid() const { CDocument::AssertValid(); } void CProTestDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CProTestDoc commands